import main from '@/view/main'

export default {
    path: '/userManage',
    component: main,
    meta: {
        title: '用户管理'
    },
    children: [
        {
            path: '',
            name: 'userManageList',
            meta: {
                title: '用户管理'
            },
            component: _ => import('./user-list')
        },
        {
            path: 'add',
            name: 'userManageAdd',
            meta: {
                title: '新建用户'
            },
            component: _ => import('./user-add')
        },
        {
            path: ':id',
            name: 'userManageEdit',
            meta: {
                title: '修改用户'
            },
            component: _ => import('./user-edit')
        }
    ]
}
